<link href="/Public/Home/css/msg.css" rel="stylesheet" type="text/css" />

<link href="/Public/Home/css/member.css" rel="stylesheet" type="text/css" media="screen" />
{include file='../Public/header.tpl'}
<div class="content">
	<div class="menu">当前位置: <span><a href=".">首页</a> <code>&gt;</code> 用户中心</span></div>	
	<div class="user">

		<div class="usernav">
	<dl>
		<dt><span>　</span>帐户管理</dt>
		<dd class="ddor">
			<a href="/index.php/Home/Member/order_list">我的订单</a>
		</dd>
		<dd >

			<a href="/index.php/Home/Member/message_list">我的留言</a>
		</dd>
		<dd>
			<a href="/index.php/Home/Member/collection_list">我的收藏</a>
		</dd>
	</dl>
	<dl>
		<dt><span>　</span>个人信息管理</dt>

		<dd >
			<a href="/index.php/Home/Member/profile">用户信息</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/editpwd">修改密码</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/address_list">收货地址</a>

		</dd>
	</dl>
</div>		
<div class="usermain">	
	<div class="userright">
		<style>
	table{
		font-size:12px;
		width:770px;
		text-align:center;
		border-collapse:collapse;
	}
	table tr td{
		height:30px;
		border:1px solid #999;
	}
	textarea{
		height:100px;
		width:400px;
		resize:none;
	}
	#title{
		width:500px;
	}
</style>

<form action="/index.php/Home/Member/messageaddck" method="POST">
	<table>
	
		<tr>
			<td colspan="2">
				添加新留言
			</td>
		</tr>
		<tr>
			<td>留言名称</td>
			<td>
				<input id='title' type="text" name='title'>
			</td>
		</tr>
		<tr>
			<td>类型</td>
			<td>
				<select name='cate'>
{foreach from=$cateData item=val}
					<option value="{$val.name}">{$val.name}</option>
{/foreach}
				</select>
			</td>
		</tr>
		<tr>
			<td>文章内容</td>
			<td>
				<textarea name='content'></textarea>
				
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<input type='submit' value="提交" />
			</td>
		</tr>
		
	</table>
</form>


    </div>
</div>	  
				
		<div class="clear"></div>		
	</div>
</div>

{include file='../Public/footer.tpl'}